package com.jinxinol.basic.system.domain;

import com.jinxinol.core.common.Entity;

/**
 * 用户角色关系
 */
public class SysUserrole extends Entity {
	private static final long serialVersionUID = 5293059500370337175L;
	private Integer id;  //null
	private Integer roleid;  //角色id
	private Integer userid;  //用户id
	private Integer sub_id;  //子系统ID


	/**
	 * null
	 */
	public void setId(Integer id){
		this.id = id;
	}
	/**
	 * null
	 */
	public Integer getId(){
		return id;
	}
	/**
	 * 角色id
	 */
	public void setRoleid(Integer roleid){
		this.roleid = roleid;
	}
	/**
	 * 角色id
	 */
	public Integer getRoleid(){
		return roleid;
	}
	/**
	 * 用户id
	 */
	public void setUserid(Integer userid){
		this.userid = userid;
	}
	/**
	 * 用户id
	 */
	public Integer getUserid(){
		return userid;
	}
	/**
	 * 子系统ID
	 */
	public void setSub_id(Integer sub_id){
		this.sub_id = sub_id;
	}
	/**
	 * 子系统ID
	 */
	public Integer getSub_id(){
		return sub_id;
	}
}

